<template>
  <div>
    <data-item
      v-for="(item, index) in data"
      :key="index"
      :item="item"
    ></data-item>
  </div>
</template>

<script>
import DataItem from './DataItem.vue';

export default {
  components: {
    DataItem,
  },
  props: {
    data: {
      type: Array,
      required: true,
    },
  },
};
</script>



